package com.ssd.entity.dto.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Null;

@Data
@ApiModel("用户兑换礼品模型")
public class GiftSeizeReqDTO {

    @ApiModelProperty(value = "礼品ID",required = true)
    @Null(message = "礼品id必须填")
    private Long giftId;

    @ApiModelProperty(value = "收货地址ID",required = true)
    @Null(message = "收货地址ID必须填")
    private Long addressId;
}
